/* 公共样式 */
*{
    box-sizing: border-box;
}
html{
    font-size: 100px;
}
body{
    margin: 0;
    background-color: #f5f5f5;
}
ul{
    margin: 0;
    padding: 0;
    list-style: none;
}
/* 广告和导航条 */
#nav-ad{
    position: fixed;
    top: 0;
    left: 0;
    box-shadow: 0 0.02rem 0.1rem 0.01rem #aaa;
    z-index: 10000;
}
#ad{
    font-size: 0;
}
#ad img{
    width: 5rem;
}
#nav{
    padding: 0.1rem 0.2rem 0.05rem;
    background-color: #f2f2f2;
    position: relative;
}
#nav .search-box>div{
    float: left;
}
#nav .search-box::after{
    display: block;
    content: "";
    clear: both;
}
#nav .mi,#nav .user{
    transform: translate(0,0.08rem);
}

#nav .mi img{
    width: 0.4rem;
    display: block;
}
#nav .search{
    color: rgba(0,0,0,.3);
    width: 3.5rem;
    font-size: 0.2rem;
    background-color: white;
    border: 1px solid #e5e5e5;
    margin: 0 0.2rem;
    padding: 0.1rem 0.1rem 0.1rem 0.5rem;
    background-image: url("./imgs/search.png");
    background-repeat: no-repeat;
    background-size: 0.3rem 0.3rem;
    background-position: 0.1rem center;
    border-radius: 0.05rem;
}
#nav .user img{
    display: block;
    width: 0.3rem;
}
#nav .list-box ul::after{
    display: block;
    content: "";
    clear: both;
}
#nav .list-box{
    width: 4.5rem;
    overflow-x: scroll;
    margin-top: 0.15rem;
}
#nav .list-box ul{
    width: 6.5rem;
}
#nav .list-box li{
    float: left;
    font-size: 0.2rem; 
    color: rgb(116, 116, 116);
    padding-bottom: 0.05rem;
    margin-right: 0.4rem;
}
#nav .list-box li:first-child{
    border-bottom: 2px solid rgb(237, 91, 0);
}
#nav .arrow{
    position: absolute;
    right: 0.1rem;
    top: 0.65rem;
    font-size: 0;
    background-color: #f2f2f2;
}
#nav .arrow img{
    width: 0.4rem;
    height: 0.4rem;
}

/* 正式内容 */
#content{
    padding-top: 1.8rem;
    font-size: 0;
}
#carousel img{
    width: 5rem;
}
#cell-box ul::after{
    display: block;
    content: "";
    clear: both;
}
#cell-box li{
    float: left;
}
#cell-box li img{
    width: 1rem;
}
#redmi30 {
    margin: 0.1rem 0;
    background-color: white;
}
#redmi30::after{
    display: block;
    content: "";
    clear: both;
}
#redmi30 img{
    width: 2.48rem;
    float: left;
}
#redmi30 img:nth-child(1){
    margin-right: 0.03rem;
}
#redmi30 img:nth-child(2){
    margin-bottom: 0.03rem;
}
.xiaomi10 img{
    width: 5rem;
    margin: 0.05rem 0;
}
#pro-list{
    background-color: #fff;
    text-align: center;
}
#pro-list ul::after{
    display: block;
    content: "";
    clear: both;
}
#pro-list li{
    margin: 0.05rem;
    float: left;
}
#pro-list .pro-img{
    width: 2.4rem;
}
#pro-list .pro-name{
    font-size: 0.22rem;
    margin: 0.1rem 0 0.05rem;
}
#pro-list .pro-desc{
    font-size: 0.17rem;
    color: #aaa;
}
#pro-list .pro-price .new::before{
    content: "￥";
    font-size: 0.11rem;
}
#pro-list .pro-price .new{
    color: #ea625b;
    font-size: 0.22rem;
}
#pro-list .pro-price .new::after{
    font-size: 0.13rem;
    content: "起";
}
#pro-list .pro-price .old::before{
    content: "￥";
    font-size: 0.1rem;
}
#pro-list .pro-price .old{
    margin-left: 0.05rem;
    font-size: 0.15rem;
    color: #888;
}

